<@page.html title>
<style>html, body, div.pdoc {height:100%; overflow:hidden;}</style>
<script type="text/javascript" src="${_appPath!}/js/print.js"></script>
<!--[if lt IE 9]><script type="text/javascript" src="${_appPath!}/js/excanvas.js"></script><![endif]-->
<script type="text/javascript" src="${_appPath!}/js/print/${ptjs!}.js?t=05042"></script>
  <div class="search">
    <dl>
      <dd style="width:50px;">&nbsp;</dd>
      <dd id="div_ops"></dd>
      <dd style="width:150px;">&nbsp;</dd>
      <dd class="button"><input type="button" onclick="_prt.print();" value="打印"  /></dd>
      <dd style="float:right;"><!--a href="${_appPath!}/images/wills.cer" target="_blank"><img src="${_appPath!}/images/add.png"></a--></dd>
      <!--dd style="float:right;"><a href="${_appPath!}/download/WillsPrint64_1.0.exe" target="_blank">64位系统这里下载</a></dd-->
      <dd style="float:right;"><a href="${_appPath!}/download/WillsPrint_1.0.exe" target="_blank">下载打印控件</a></dd>
      <dd style="float:right;"><!--object classid="CLSID:A6EDB20E-CF23-42BC-B6E9-5120D38C18C9" codebase="${_appPath!}/images/WillsPrint.CAB#version=1,0,0,0"></object--></dd>
    </dl>
  </div>

  <div id="div_preview" class="kbox" style="margin-top:10px; padding:0; background-color:#666; height:400px; text-align:center; overflow:auto;"></div>
<script type="text/javascript">
  var data = ${data!};
  setPrintData(data);
  _prt.preview();
</script>
</@page.html>